/**
 * @author xiaobyu
 * @created Jun 16, 2016
 * 
 */
package mdt.model;

public class EdgeModel extends MDTModel implements IEdgeModel{

	private static final long serialVersionUID = 1L;
	private IConnector srcConnector;
	private IConnector dstConnector;
	
	public EdgeModel() {
		
	}
	
	public EdgeModel(IConnector srcConnector, IConnector dstConnector) {
		this.srcConnector = srcConnector;
		this.dstConnector = dstConnector;
	}
	
	public void setSrcConnector(IConnector srcNode) {
		this.srcConnector = srcNode;
	}

	@Override
	public IConnector getSrcConnector() {
		return srcConnector;
	}
	
	public void setDstConnector(IConnector dstNode) {
		this.dstConnector = dstNode;
	}

	@Override
	public IConnector getDstConnector() {
		return dstConnector;
	}

}
